projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06f7f0a
)
(sh-set-shell): Use standard-syntax-table if none other is specified.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Feb 1998 07:14:24 +0000
(07:14 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Feb 1998 07:14:24 +0000
(07:14 +0000)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 4cc89af5f1e688e66577cf62fb2681ca91f84833..bc106f82b305b9020f59da229c9f5bdf1cf9fa1a 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-831,7
+831,8
@@
Calls the value of `sh-set-shell-hook' if set."
imenu-generic-expression (sh-feature sh-imenu-generic-expression)
imenu-case-fold-search nil
shell (sh-feature sh-variables))
- (set-syntax-table (sh-feature sh-mode-syntax-table))
+ (set-syntax-table (or (sh-feature sh-mode-syntax-table)
+ (standard-syntax-table)))
(while shell
(sh-remember-variable (car shell))
(setq shell (cdr shell)))